add_subdirectory(checkpoint)

add_library_unity(duckdb_storage
                  OBJECT
                  checkpoint_manager.cpp
                  column_statistics.cpp
                  block.cpp
                  data_table.cpp
                  index.cpp
                  meta_block_reader.cpp
                  meta_block_writer.cpp
                  storage_chunk.cpp
                  storage_manager.cpp
                  write_ahead_log.cpp
                  segment_tree.cpp
                  single_file_block_manager.cpp
                  storage_info.cpp
                  storage_lock.cpp
                  wal_replay.cpp
                  column_segment.cpp)
set(ALL_OBJECT_FILES
    ${ALL_OBJECT_FILES} $<TARGET_OBJECTS:duckdb_storage>
    PARENT_SCOPE)
